home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / c / mc51bugs.zip / Q32935 < prev    next >
Text File  |  1988-07-29  |  779b  |  34 lines

  1. Q32935 _fld1 Unresolved at Link Time
  2. C Compiler
  3. 5.10   | 5.10
  4. MS-DOS | OS/2
  5.  
  6. Summary:
  7.    Compiling and linking the following program with one of the
  8. floating-point options to generate calls (/FPa, /FPc or /FPc87)
  9. results in _fld1 being unresolved at link time.
  10.    The following is a code example:
  11.  
  12. main()
  13. { float j,k;
  14.   k = j--;
  15. }
  16.  
  17.    Microsoft has confirmed this to be a problem in Version 5.10 of the
  18. C compiler. We are researching this problem and will post new
  19. information as it becomes available.
  20.    You can work around this problem by not using the decrement
  21. operator (--) on the variable j. For example, you can rewrite the code
  22. as follows:
  23.  
  24. main()
  25. { float j,k;
  26.   k = j;
  27.   j = j-1;
  28. }
  29.  
  30.  
  31.  
  32. Keywords:  buglist5.10 qfbv
  33. Updated  88/07/29 12:16
  34.